export const menuItems = [
  {
    name: '首页',
    routeName: 'home',
    path: '/',
    component: () => import('../views/HomeView.vue'), // 注意：这里统一使用动态导入保持一致性
  },
  {
    name: '关于',
    routeName: 'about',
    path: '/about',
    component: () => import('../views/AboutView.vue'),
  },
  {
    name: '游戏',
    routeName: 'game',
    path: '/game',
    children: [
      {
        name: '第一个游戏',
        routeName: 'game01',
        path: 'game01',
        component: () => import('../views/game/game01/index.vue'),
      },
      {
        name: '第二个游戏',
        routeName: 'game02',
        path: 'game02',
        component: () => import('../views/game/game02/index.vue'),
      },
    ],
  },
];